Elementor\Core\Files\Uploads_Manager A

Total Complexity 65
Dependencies 9
Dependents 5
Total lines 599
Lines of code 207
Logical lines of code 116
Comment lines 304
Methods 25
Properties 4

Methods 25

Method Rating Maintainability Complexity Lines of code
validate_file()
S
55 6 18
is_file_type_allowed()
S
57 5 17
extract_and_validate_zip()
S
58 4 15
check_filetype_and_ext()
S
60 4 13
get_allowed_file_extensions()
S
63 4 11
support_unfiltered_elementor_file_uploads()
S
66 4 8
save_base64_to_tmp_file()
S
59 3 14
remove_directory_with_files()
S
62 3 11
is_elementor_upload()
S
79 3 3
handle_elementor_upload()
S
64 3 10
handle_elementor_wp_media_upload()
S
64 3 10
get_temp_dir()
S
63 3 10
register_file_types()
S
64 2 10
add_file_extension_to_allowed_extensions_list()
S
68 2 7
is_elementor_wp_media_upload()
S
78 2 3
enable_unfiltered_files_upload()
S
71 2 6
is_elementor_media_upload()
S
78 2 3
remove_file_or_dir()
S
70 2 7
are_unfiltered_uploads_enabled()
S
71 2 5
set_elementor_upload_state()
S
81 1 3
register_ajax_actions()
S
79 1 3
create_unique_dir()
S
73 1 5
create_temp_file()
S
72 1 5
get_file_type_handlers()
S
79 1 3
__construct()
S
67 1 7